package com.ld.security.common.core.util;

import cn.hutool.core.date.DateUtil;

import java.util.Date;

public class SimpDateUtil {

    public static final String def="yyyy-MM-dd HH:mm:ss";

    public static String fomat(Date date){
        return format(date,def);
    }

    public static String format(Date date,String s){
        return DateUtil.format(date,s);
    }
}
